//
//  ArticoloCommentiViewController.h
//  
//
//  Created by Dario Trisciuoglio on 09/06/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "AutoDownloadImageView.h"
@interface ArticoloCommentiViewController : UIViewController <NSXMLParserDelegate,UITableViewDelegate,UITableViewDataSource,AutoDownloadImageViewDelegate> {

	// parser XML
	NSXMLParser *commentiParser;
	// elenco degli elementi letti dal feed
	NSMutableArray *elencoCommenti;
	
	//variabile temporanea per ogni elemento
	NSMutableDictionary *item;
	
	// valori dei campi letti dal feed
	NSString *currentElement;
	NSMutableString *currentNome,*currentAvatar,*currentCommento;
    
    // variabile dell'url del xml
    NSString *urlParserView;
    
    UIView *spinnerView;
    UIActivityIndicatorView *spinner;
    UITableView *TableView;
    
    NSString *titoloArticolo;
    NSString *descrizioneArticolo;
    NSURL *imageArticoloURL;
    
}

@property (nonatomic, retain) NSString *titoloArticolo;
@property (nonatomic, retain) NSString *descrizioneArticolo;
@property (nonatomic, retain) NSURL *imageArticoloURL;

@property (nonatomic, retain) NSString *urlParserView;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *spinner;
@property (nonatomic, retain) IBOutlet UIView *spinnerView;
@property (nonatomic, retain) IBOutlet UITableView *TableView; 

- (void)parseXMLFileAtURL:(NSString *)URL;

@end
